home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20030409-20031118
/
000081_dkcombs@panix.com_Wed May 14 17:34:06 EDT 2003.msg
< prev
next >
Wrap
Text File
|
2003-11-18
|
11KB
|
275 lines
Article: 14300 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!panix1.panix.com!not-for-mail
From: dkcombs@panix.com (David Combs)
Newsgroups: comp.protocols.kermit.misc
Subject: ckermit 192 to v9: need help changing my init-files
Date: 14 May 2003 01:41:44 -0400
Organization: PANIX -- Public Access Networks Corp.
Lines: 259
Message-ID: <b9skuo$dbh$1@panix1.panix.com>
NNTP-Posting-Host: panix1.panix.com
X-Trace: reader1.panix.com 1052890905 5588 166.84.1.1 (14 May 2003 05:41:45 GMT)
X-Complaints-To: abuse@panix.com
NNTP-Posting-Date: Wed, 14 May 2003 05:41:45 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14300
I've been using c-kermit-192/wermit; I've now downloaded version 9
(for solaris-9), and it looks like some changes are needed in
my init-files.
My old .mykermrc-for-v6 worked even for 192; finally, I have
to make some changes.
Perhaps someone who really knows this stuff could simply edit
in the hopefuylly-few lines that that need changing or insertion.
(Actually, within a couple of weeks I'll no longer be
getting dialing into my ISP (panix), but will be using
a cable-modem (and ssh). I know so little about
operating via a cable-modem that I don't know if I'll
need Kermit or not. Even if not, I'd still like to
successfully upgrade to the newest version, so that
if from some site I have no cable-modem, I can revert
to dial-in, via Kermit. So, any help would be much
appreciated! Thanks!)
------- First, my (failing) run of it:
50 ==/big7.1/dkc==> ./cku209.solaris9g-sparc
./cku209.solaris9g-sparc: Permission denied
51 ==/big7.1/dkc==> ls -l !$
ls -l ./cku209.solaris9g-sparc
-rw-r--r-- 1 dkc other 4588476 Mar 30 17:47 ./cku209.solaris9g-sparc
52 ==/big7.1/dkc==> chmod u+x !$
chmod u+x ./cku209.solaris9g-sparc
53 ==/big7.1/dkc==> ./cku209.solaris9g-sparc
C-Kermit 8.0.209, 17 Mar 2003, for Solaris 9
Copyright (C) 1985, 2003,
Trustees of Columbia University in the City of New York.
Type ? or HELP for help.
(/big7.1/dkc/) C-Kermit>take /dkcjunk/some-dkc-homepreserve-stuff/.mykermrc-for-v6
------- ENTER .mykermrc::
HELLO David, this is the LOCAL LOCAL LOCAL LOCAL .mykermrc!
HELLO David, this is the LOCAL LOCAL LOCAL LOCAL .mykermrc!
HELLO David, this is the LOCAL LOCAL LOCAL LOCAL .mykermrc!
---------------------------
---------------------------
---------------------------
PANIX DIAL-IN (Lower-Westchester) (914) 509-9202 (ie 5099202) <<===
" (212) 12128129201 (718) 17183609201
(BUT to PHONE panix-hq PEOPLE: 212-741-4400)
(x-1 service; x-4 tech spt; x-5 bill)
" (I am: panix Customer
/var/spool/locks: Permission denied
?SET SPEED has no effect without prior SET LINE
?SET SPEED has no effect without prior SET LINE
------- EXIT .mykermrc.
(/big7.1/dkc/) C-Kermit>
------------------------ Now, my init file, .mykermrc:
#!/usr/local/bin/kermit
; File CKERMOD.INI, Sample C-Kermit 7.0 customization file.
;
; This file, which is ONLY A SAMPLE, should be called:
;
; .mykermrc (UNIX, OS-9, Aegis, BeBox, Plan 9)
; CKERMOD.INI (VMS, OpenVMS, AOS/VS, OS/2, Amiga, Atari ST)
; ckermod.ini (Stratus VOS)
;
; MODify it to suit your needs and preferences, and install it in the same
; directory as your C-Kermit initialization file. The design of this file
; lets you fill in a section for each different operating system where you run
; C-Kermit. This file is executed automatically by the standard C-Kermit
; initialization file, CKERMIT.INI (or .kermrc). See the manual, "Using
; C-Kermit", for further information.
;
; Authors: Christine Gianone, Frank da Cruz, Jeffrey Altman,
; The Kermit Project, Columbia University.
; Creation: 23 November 1992 for C-Kermit 5A(188).
; Modified: 30 June 1993 for edit 189.
; 04 October 1994 for edit 190.
; 17 April 1995 for edit 191.
; 6 September 1996 for version 6.0, edit 192.
; 1 January 2000 for version 7.0, edit 196.
ECHO
ECHO Executing SAMPLE C-Kermit customization file \v(cmdfile) for \v(system)...
ECHO { Please edit this file to reflect your needs and preferences.}
ECHO
;
; ... and then remove the ECHO commands above.
; this block came from .mykermrc-for-v6: dkc:
; run fuser
; set dial display on
; show modem, show dial
; dial 5099202
echo " PANIX DIAL-IN (Lower-Westchester) (914) 509-9202 (ie 5099202) <<==="
echo " (BUT to PHONE panix-hq PEOPLE: 212-741-4400)"
echo " (x-1 service; x-4 tech spt; x-5 bill) "
echo " (I am: panix Customer # 00000-16967 David Combs)"
set line /dev/cua/a ; dkc
COMMENT - Settings that apply to all the systems I use:
;
set delay 1 ; I escape back quickly
set dial display on ; I like to watch C-Kermit dial
; Dialing locale and method
;
; SET DIAL COUNTRY-CODE 1 ; Uncomment and replace with yours
; SET DIAL AREA-CODE 000 ; Uncomment and replace with yours
; SET DIAL LD-PREFIX 1 ; Uncomment and replace with yours
; SET DIAL INTL-PREFIX 011 ; Uncomment and replace with yours
; SET DIAL METHOD TONE ; Uncomment and replace with PULSE if necessary
; SET DIAL DIRECTORY ... ... ; List dialing directory files here
; File transfer preferences
;
FAST ; Uncomment to enable fast file transfer
; SET FILE TYPE BINARY ; Uncomment to force binary-mode file transfer
SET FILE NAMES LITERAL ; Uncomment to defeat filename conversion dkc
; SET SEND PATHNAMES ON ; Uncomment to defeat send pathname stripping
; SET RECEIVE PATHNAMES ON ; Uncomment to defeat receive pathname stripping
; SET EXIT WARNING OFF ; Uncomment this to remove connection warnings
; SET TERMINAL APC ON ; Uncomment to allow APC commands
SET TERM AUTODOWNLOAD ON ; Uncomment to allow autodownload dkc
if < \v(version) 600192 -
stop 1 \v(cmdfile): C-Kermit 6.0.192 or later required.
set take error on ; Make errors fatal temporarily
check if ; Do we have an IF command?
set take error off ; Yes we do, back to normal
; The ON_EXIT macro is executed automatically when C-Kermit exits.
; Define as desired.
;
define ON_EXIT echo Returning you to \v(system) now.
; System-independent quick dialing macro. Depends on having the
; macros MYMODEM, MYPORT, and (optionally) MYSPEED defined in the
; system-dependent sections below.
;
define MYDIAL {
if not defined MYMODEM end 1 {\%0: Modem type not defined.}
set modem type \m(MYMODEM)
if fail end 1 {\%0: \m(MYMODEM): Unsupported modem type.}
if not defined MYPORT end 1 {\%0: Communication port not defined.}
set port \m(MYPORT)
if fail end 1 {\%0: SET PORT \m(MYPORT) failed.}
if defined MYFLOW set flow \m(MYFLOW)
if fail end 1 {\%0: SET FLOW \m(MYFLOW) failed.}
if defined MYSPEED set speed \m(MYSPEED)
if fail end 1 {\%0: SET SPEED \m(MYSPEED) failed.}
dial \%1\%2\%3\%4\%5\%6\%7\%8\%9
end \v(status)
}
forward \v(system) ; Go execute system-dependent commands
:UNIX ; UNIX, all versions...
define MYPORT /dev/cua/a ; My dialing environment dkc: added "/a" suffix.
define MYMODEM usrrobotics ; Replace these by what you actually have. dkc.
define MYSPEED 57600
;
; If you want all your downloads to go to the same directory, no matter
; what your current directory is, uncomment and edit the following command:
;
; set file download-directory ~/download ; Download directory for UNIX
; Put other UNIX-specific commands here...
end ; End of UNIX section
:VMS ; VMS and OpenVMS
define MYPORT TXA0: ; My dialing environment
define MYMODEM usr ; Replace these by what you actually have
define MYSPEED 57600
; set file download-directory [\$(USER).DOWNLOAD] ; Download directory for VMS
; Put other VMS-specific commands here...
end ; End of VMS section
:WIN32 ; Windows and OS/2 customizations...
:OS/2
define MYPORT COM1 ; My dialing environment
define MYMODEM usr ; Replace these by what you actually have
define MYSPEED 57600
set command byte 8 ; Use 8 bits between Kermit and console
set xfer char latin1 ; Use Latin-1 for text file transfer
set term char latin1 ; And use Latin-1 during CONNECT mode
; set file download-directory C:\DOWNLOADS
end
:OS9/68K ; OS-9/68000
define MYPORT /t3 ; My dialing environment
define MYMODEM usr ; Replace these by what you actually have
define MYSPEED 9600
; set file download-directory ~/downloads
end ; End of OS-9 section
:AOS/VS ; Data General AOS/VS
define MYPORT @con3 ; My dialing environment
define MYMODEM usrobotics ; Replace these by what you actually have dkc
define MYSPEED 9600
; set file download-directory \v(home)DOWNLOADS
end
; And so on, you get the idea...
; Fill in the sections that apply to you.
:Stratus_VOS ; Stratus VOS
:Amiga ; Commodore Amiga
:Atari_ST ; Atari ST
:Macintosh ; Apple Macintosh
:unknown ; Others
; dkc:
# At exit from ISP, then quit from kermit, run "fuser -u /dev/cua/a".
# 28may01: -- we try panix' advice of adding "s32=66" to command string.
# kermit's show modem gives "ATQ0X4&A3&N0&Y3\{13}" as cmd string,
# so we'll trying to set it to "ATQ0X4&A3&N0&Y3\{13}s32=66"
set modem command init-string ATQ0X4&A3&N0&Y3\{13}s32=66 ; dkc
; (End of CKERMOD.INI)
------------ so ends .mykermrc.
Simple, or difficult, to convert this to work for v-9?
What would be by far the nicest would be if someone
could hack into that file whatever changes are needed;
my brain is totally taken up with trying to comprehend
enough unix security, public key stuff, ssh, and 10,000
other (to me) esoteric things, that without someone's
help, I'll just have to stick with 192.
Thanks so much for any help you can give -- especially
for either a cut-n-paste or some 100% cookbook-like
directions that even a robot could follow.
Thanks!
David